package com.jk1123.us.core.datasource;

import javax.sql.DataSource;
import java.io.File;
import java.util.List;

/**
 * @author huyoufu <https://github.com/huyoufu>
 * @TIME 2021-09-16 02:32
 * @description 采用derby作为本地数据库
 */
public class LocalDatasourceProvider implements DatasourceProvider{
    private final String jdbcDriverName = "org.apache.derby.jdbc.EmbeddedDriver";

    private final String userName = "us";

    private final String password = "us";

    private final String derbyBaseDir = "data" + File.separator + "derby-data";

    private final String derbyShutdownErrMsg = "Derby datasource shutdown.";
    @Override
    public List<DataSource> getDataSources() {



        return null;
    }
}
